//
//  TimeSetView.h
//  IntelligenceCommunity
//
//  Created by zhangpei on 15/12/15.
//  Copyright © 2015年 zhangpei. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef enum
{
    TimeSetViewButtonTypeOfOK,
    TimeSetViewButtonTypeOfClear,
    TimeSetViewButtonTypeOfCancel
}TimeSetViewButtonType;


typedef void (^ SelectTimeBlock) (TimeSetViewButtonType type, NSString* timeStr);

@interface TimeSetView : UIView
{
    
}

@property (nonatomic, copy) SelectTimeBlock selectTimeBlock;

+ (id)sharedTimeSetViewWithTime:(NSString *)timeString withSelectTimeBlock:(SelectTimeBlock)block;

@end
